#include <iostream>
#include "vectorfunctions.h"

int main()
{
	int l;
	float x[100], sum, prod, e;
	cout<<"Number of elements in vector is : ";
	cin>>l;
	readVector(x, l);
	sum=sumofVector(x, l);
	prod=prodofVector(x, l);
	e=sum+prod;
	cout<<"The sum is : "<<sum<<"\nThe product is : "<<prod<<"\nE = S + P is : "<<e<<"\n";
	
return 0;
}
